package com.zhdl.modules.prefiresys.entity;

import com.project.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 近七日风险趋势
 *
 * @author ACodeYuan
 * @Description:
 * @date 2023/7/21 15:59
 * @Version Y-1.0
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "factory_weekly_risk")
public class FactoryWeeklyRisk extends BaseEntity<FactoryWeeklyRisk, String> {

    /**
     * ID
     */
    @Id
    @Column(length = 32)
    private String id;

    /**
     * 探测装置ID
     */
    private String hostId;

    /**
     * 统计日期
     */
    private String statDate;

    /**
     * 当日报警次数
     */
    private Long alarmCount;

}
